package com.pactera.madp.cp.api.entity.sync;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 企业微信部门与人力资源机构关联表
 */
@Data
@TableName("cp_sync_wx_org_relation")
public class SyncWxOrgRelation extends Model<SyncWxOrgRelation> implements Cloneable{

    @ApiModelProperty(value = "企业微信部门id")
    private Integer wxDeptId;

    @ApiModelProperty(value = "机构id")
    private String hrOrgId;

    @Override
    public SyncWxOrgRelation clone() {
        SyncWxOrgRelation rel = null;
        try {
            rel = (SyncWxOrgRelation) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return rel;
    }

}
